#ifndef  __KANGTU_H__
#define  __KANGTU_H__

#include "stdint.h"
#include "string.h"
#include "protocol.h"

typedef struct KT_MSG {
	uint16_t id;
	uint16_t len;
	uint8_t data[0];
}KT_MSG_t;


extern PROTO_pt kangtu_ptu;

void kangtu_recvdata_deal(void);
void kangtu_soft_ware_init(void);
void kangtu_recvdata_parse(void);
void kangtu_senddata_transmit(void);
void kangtu_senddata_packaged(void);
void kangtu_timebase_computing(void);

#endif

